<#include "/common/head.ftl">

<@showTitle title="${i18n.getMessage('waiting')} > ${i18n.getMessage('searchResult')}">
	<a href="#" onclick="cc('program/showSearchWaiting.sgt')">${i18n.getMessage('search')}</a>
</@showTitle>

<br/>

<@display.table id="listTable" name="waitings" sort="list" defaultorder="ascending" defaultsort="3" pagesize="20">
	<@display.column title="${i18n.getMessage('lastName')}" property="student.lastName" sortable="true"></@display.column>
	<@display.column title="${i18n.getMessage('firstName')}" sortable="true"  style="text-align:center"><a href="#" onclick="cc('student/showInfoStudent.sgt?id=${listTable.student.id}')" style="color:000;cursor:pointer;">${(listTable.student.firstName)!}</a></@display.column>
	<@display.column title="${i18n.getMessage('testDate')}" property="student.lastPlacementTest.date" format="{0,date,${i18n.getMessage('format.date')}}" sortable="true" style="text-align:center"></@display.column>
	<@display.column title="${i18n.getMessage('lastOffering')}" property="student.lastOffering.name" sortable="true" style="text-align:center"></@display.column>
	<@display.column title="${i18n.getMessage('endDate')}" property="student.lastOffering.endDate" sortable="true" format="{0,date,${i18n.getMessage('format.date')}}" style="text-align:center"></@display.column>
	<@display.column title="${i18n.getMessage('registeredDate')}" property="registeredDate" format="{0,date,${i18n.getMessage('format.date')}}" sortable="true" style="text-align:center"></@display.column>
	<@display.column title="${i18n.getMessage('waiting')} ${i18n.getMessage('level')}" sortable="true" style="text-align:center"><a href="#" onclick="cc('program/showListWaiting.sgt?levelId=${listTable.level.id}')" style="color:000;cursor:pointer;">${(listTable.level.name)!}</a></@display.column>
	<@display.column title="${i18n.getMessage('note')}" property="comment" maxLength="10" sortable="true"></@display.column>
</@display.table>

<br><br>

